package edu.task.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_user_msg", schema = "task")
@IdClass(SysUserMsgPK.class)
public class SysUserMsg {
    @Id
    private Long userId;
    @Id
    private Long msgId;
}
